<template>
  <div>
    <el-table :data="list" fit highlight-current-row style="width: 100%;">
      <el-table-column class="filter-item" type="expand">
        <template slot-scope="{row}">
          <div v-html="row.content"></div>
        </template>
      </el-table-column>
      <el-table-column prop="title" label="标题名"/>
    </el-table>
  </div>
</template>

<script>
import {getAll} from "@/api/user";

export default {
  name: "fileView",
  data() {
    return {
      list: []
    }
  },
  created() {
    getAll().then(res => {
      this.list = res.content
    })
  }
}
</script>

<style scoped>

</style>
